﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace SlaughterItem.Common.Migrations
{
    public partial class log1 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "Areas",
                columns: table => new
                {
                    AreaId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    AreaName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CityId = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Areas", x => x.AreaId);
                });

            migrationBuilder.CreateTable(
                name: "Business",
                columns: table => new
                {
                    BusinessId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    BusinessName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BusinessAbbreviation = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BusinessImage = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IndustrytagId = table.Column<int>(type: "int", nullable: false),
                    ProvibceId = table.Column<int>(type: "int", nullable: false),
                    CityId = table.Column<int>(type: "int", nullable: false),
                    AreaId = table.Column<int>(type: "int", nullable: false),
                    DetailedAddress = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BusinessPhone = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BusinessDuty = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Business", x => x.BusinessId);
                });

            migrationBuilder.CreateTable(
                name: "CheckIn",
                columns: table => new
                {
                    CheckInId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    CheckInNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    EnterTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    GoOutTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    CarNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    SupplierId = table.Column<int>(type: "int", nullable: false),
                    SettlementTypeId = table.Column<int>(type: "int", nullable: false),
                    ApproachNum = table.Column<int>(type: "int", nullable: false),
                    QuarantineNo = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
                    OriginAddr = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
                    CheckInBatch = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: false),
                    Deliveryman = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    Phone = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: false),
                    IdentityCard = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: false),
                    EnterRegistrar = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: false),
                    GoOutRegistrar = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: false),
                    QuarantineImg = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: false),
                    CheckInStateId = table.Column<int>(type: "int", nullable: false),
                    Remark = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: false),
                    CheckInIsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CheckIn", x => x.CheckInId);
                });

            migrationBuilder.CreateTable(
                name: "CheckInPigs",
                columns: table => new
                {
                    CheckInPigsId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    PigsId = table.Column<int>(type: "int", nullable: false),
                    CheckInId = table.Column<int>(type: "int", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CheckInPigs", x => x.CheckInPigsId);
                });

            migrationBuilder.CreateTable(
                name: "CheckInState",
                columns: table => new
                {
                    CheckInStateId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    CheckInStateName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    CheckInStateIsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_CheckInState", x => x.CheckInStateId);
                });

            migrationBuilder.CreateTable(
                name: "Citys",
                columns: table => new
                {
                    CityId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    CitysName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ProvibceId = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Citys", x => x.CityId);
                });

            migrationBuilder.CreateTable(
                name: "Clients",
                columns: table => new
                {
                    CustomerId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    CustomerNickname = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CustomerIDcar = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ProvibceId = table.Column<int>(type: "int", nullable: false),
                    CityId = table.Column<int>(type: "int", nullable: false),
                    AreaId = table.Column<int>(type: "int", nullable: false),
                    CustomerCooperateTime = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SectionId = table.Column<int>(type: "int", nullable: false),
                    CustomerState = table.Column<bool>(type: "bit", nullable: false),
                    CustomerNotes = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Clients", x => x.CustomerId);
                });

            migrationBuilder.CreateTable(
                name: "COAData",
                columns: table => new
                {
                    COAId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    LiveAnimalsDocument = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LiveAnimalsDocumentTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    COARType = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COAGoods = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CheckInBatch = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COAQuarantineType = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OriginAddr = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SampleSize = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SampleNum = table.Column<int>(type: "int", nullable: false),
                    SampleTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    SampleData = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COATime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    ExecuteData = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COAAuditState = table.Column<int>(type: "int", nullable: false),
                    COACreateName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COACreateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    ISDeleteCOA = table.Column<bool>(type: "bit", nullable: false),
                    COAImage = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ProductionName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COAverdict = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_COAData", x => x.COAId);
                });

            migrationBuilder.CreateTable(
                name: "cOAPRQSDatas",
                columns: table => new
                {
                    COAPRQSId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    COAId = table.Column<int>(type: "int", nullable: false),
                    GoodsId = table.Column<int>(type: "int", nullable: false),
                    COAData_ = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COACOntext_ = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsCOAPRQS = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_cOAPRQSDatas", x => x.COAPRQSId);
                });

            migrationBuilder.CreateTable(
                name: "COAStandardData",
                columns: table => new
                {
                    COAStandardId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    COAId = table.Column<int>(type: "int", nullable: false),
                    IPQCId = table.Column<int>(type: "int", nullable: false),
                    COAStandardContext = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    COAStandardVerdict = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_COAStandardData", x => x.COAStandardId);
                });

            migrationBuilder.CreateTable(
                name: "Deductions",
                columns: table => new
                {
                    DeductionId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    DeductionName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    DeductionPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
                    DeductionBusiness = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    DeductionStatu = table.Column<bool>(type: "bit", nullable: false),
                    DeductionRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDel = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Deductions", x => x.DeductionId);
                });

            migrationBuilder.CreateTable(
                name: "depotTypes",
                columns: table => new
                {
                    DepotTypeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    DepotTypeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDepotType = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_depotTypes", x => x.DepotTypeId);
                });

            migrationBuilder.CreateTable(
                name: "goodsGrades",
                columns: table => new
                {
                    GoodsGradeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    GoodsGradeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsGoodsGrade = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_goodsGrades", x => x.GoodsGradeId);
                });

            migrationBuilder.CreateTable(
                name: "Industrytags",
                columns: table => new
                {
                    IndustrytagId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    IndustrytagName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    Pid = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Industrytags", x => x.IndustrytagId);
                });

            migrationBuilder.CreateTable(
                name: "iPQCDatas",
                columns: table => new
                {
                    IPQCId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    LiveAnimalsDocument = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LiveAnimalsDocumentTIme = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IPQCName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IPQCType = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ExecuteIPQC = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsIPQC = table.Column<bool>(type: "bit", nullable: false),
                    IPQCAuditState = table.Column<bool>(type: "bit", nullable: false),
                    IPQCCreateName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    AuditStateTIme = table.Column<DateTime>(type: "datetime2", nullable: false),
                    PRQSName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDeleteIPQC = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_iPQCDatas", x => x.IPQCId);
                });

            migrationBuilder.CreateTable(
                name: "iPQCGoodsDatas",
                columns: table => new
                {
                    IPQCGoodsId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    IPQCId = table.Column<int>(type: "int", nullable: false),
                    GoodsId = table.Column<int>(type: "int", nullable: false),
                    GoodsName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsiPQCGoods = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_iPQCGoodsDatas", x => x.IPQCGoodsId);
                });

            migrationBuilder.CreateTable(
                name: "iPQCRemarkDatas",
                columns: table => new
                {
                    IPQCRemarkDataId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    IPQCId = table.Column<int>(type: "int", nullable: false),
                    IPQCRemarkData_ = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    PRQSId = table.Column<int>(type: "int", nullable: false),
                    IsIPQCRemarkData = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_iPQCRemarkDatas", x => x.IPQCRemarkDataId);
                });

            migrationBuilder.CreateTable(
                name: "LiveAnimals",
                columns: table => new
                {
                    LiveAnimalsId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    LiveAnimalsDate = table.Column<DateTime>(type: "datetime2", nullable: true),
                    LiveAnimalsDocument = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CheckInId = table.Column<int>(type: "int", nullable: false),
                    LiveAnimalsWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LiveAnimalsRAverageWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_LiveAnimals", x => x.LiveAnimalsId);
                });

            migrationBuilder.CreateTable(
                name: "logData",
                columns: table => new
                {
                    LogId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    LogDatas = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LogTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    LogUserName = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_logData", x => x.LogId);
                });

            migrationBuilder.CreateTable(
                name: "Make",
                columns: table => new
                {
                    MakeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    MakeName = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Make", x => x.MakeId);
                });

            migrationBuilder.CreateTable(
                name: "Oilyfat",
                columns: table => new
                {
                    OilyfatId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    DepotTypeId = table.Column<int>(type: "int", nullable: false),
                    OilyfatPlanNum = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OilyfatTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    GoodsMinuteId = table.Column<int>(type: "int", nullable: false),
                    OilyfatNum = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OilyfatGrossWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OilyfatTares = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OilyfatWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OilyfatRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Oilyfat", x => x.OilyfatId);
                });

            migrationBuilder.CreateTable(
                name: "Permissions",
                columns: table => new
                {
                    PermissionsId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    PermissionsName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    PermissionIsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Permissions", x => x.PermissionsId);
                });

            migrationBuilder.CreateTable(
                name: "Pigs",
                columns: table => new
                {
                    PigsId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    PigsNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    PigsWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Pigs", x => x.PigsId);
                });

            migrationBuilder.CreateTable(
                name: "Product",
                columns: table => new
                {
                    ProductId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ProductName = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Product", x => x.ProductId);
                });

            migrationBuilder.CreateTable(
                name: "Production",
                columns: table => new
                {
                    ProductionId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ProductionName = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Production", x => x.ProductionId);
                });

            migrationBuilder.CreateTable(
                name: "Provibces",
                columns: table => new
                {
                    ProvibceId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ProvibceName = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Provibces", x => x.ProvibceId);
                });

            migrationBuilder.CreateTable(
                name: "pRQSDatas",
                columns: table => new
                {
                    PRQSId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    PRQSName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    PRQSindex = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    Require = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    PRQSstate = table.Column<bool>(type: "bit", nullable: false),
                    CreateName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    FinallyName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    FinallyTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsPRQS = table.Column<bool>(type: "bit", nullable: false),
                    ISDeletePRQS = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_pRQSDatas", x => x.PRQSId);
                });

            migrationBuilder.CreateTable(
                name: "quarantineDatas",
                columns: table => new
                {
                    QuarantineId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    GoodsId = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    QuarantineState = table.Column<bool>(type: "bit", nullable: false),
                    IsQuarantine = table.Column<bool>(type: "bit", nullable: false),
                    QuarantineName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    QuarantineNum = table.Column<int>(type: "int", nullable: false),
                    QuarantineImage = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_quarantineDatas", x => x.QuarantineId);
                });

            migrationBuilder.CreateTable(
                name: "quarantinePigDatas",
                columns: table => new
                {
                    QuarantinePigId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    QuarantinePigName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CheckInNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    SupplierId = table.Column<int>(type: "int", nullable: false),
                    OriginAddr = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
                    IsDataQuarantinePig = table.Column<bool>(type: "bit", nullable: false),
                    IsQuarantinePig = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_quarantinePigDatas", x => x.QuarantinePigId);
                });

            migrationBuilder.CreateTable(
                name: "quarantinePigTypeDatas",
                columns: table => new
                {
                    QuarantinePigTypeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    QuarantinePigTypeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsQuarantinePigTypeData = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_quarantinePigTypeDatas", x => x.QuarantinePigTypeId);
                });

            migrationBuilder.CreateTable(
                name: "RKWeighData",
                columns: table => new
                {
                    RKWeighId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    WeighNum = table.Column<int>(type: "int", nullable: false),
                    GrossNum = table.Column<double>(type: "float", nullable: false),
                    furNum = table.Column<double>(type: "float", nullable: false),
                    suttleNum = table.Column<double>(type: "float", nullable: false),
                    WeighTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    PackName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsWeigh = table.Column<bool>(type: "bit", nullable: false),
                    SumWeigh = table.Column<double>(type: "float", nullable: false),
                    RKWeighNum = table.Column<int>(type: "int", nullable: false),
                    UPCName = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_RKWeighData", x => x.RKWeighId);
                });

            migrationBuilder.CreateTable(
                name: "Roles",
                columns: table => new
                {
                    RolesId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    RolesName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    PermissionsId = table.Column<int>(type: "int", nullable: false),
                    RolesIsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Roles", x => x.RolesId);
                });

            migrationBuilder.CreateTable(
                name: "Sale",
                columns: table => new
                {
                    SaleId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    CheckInId = table.Column<int>(type: "int", nullable: false),
                    MarkId = table.Column<int>(type: "int", nullable: false),
                    SaleNum = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SaleGrossWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SaleTares = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SaleWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ProductId = table.Column<int>(type: "int", nullable: false),
                    SaleRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    DepotId = table.Column<int>(type: "int", nullable: false),
                    SaleTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sale", x => x.SaleId);
                });

            migrationBuilder.CreateTable(
                name: "SalesDetails",
                columns: table => new
                {
                    SalesDetailsId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    SalesDetailsDate = table.Column<DateTime>(type: "datetime2", nullable: false),
                    CustomerId = table.Column<int>(type: "int", nullable: false),
                    SalesDetailsOrderNumber = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SalesDetailsOrderNum = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SalesDetailsState = table.Column<bool>(type: "bit", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_SalesDetails", x => x.SalesDetailsId);
                });

            migrationBuilder.CreateTable(
                name: "SalesSummary",
                columns: table => new
                {
                    SalesSummaryId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    MarkId = table.Column<int>(type: "int", nullable: false),
                    EmployeeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SalesTimes = table.Column<DateTime>(type: "datetime2", nullable: false),
                    SalesNum = table.Column<int>(type: "int", nullable: false),
                    SalesPeice = table.Column<int>(type: "int", nullable: false),
                    ReturnNum = table.Column<int>(type: "int", nullable: false),
                    ReturnPrice = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_SalesSummary", x => x.SalesSummaryId);
                });

            migrationBuilder.CreateTable(
                name: "scaleContexts",
                columns: table => new
                {
                    ScaleId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ScaleTypeId = table.Column<int>(type: "int", nullable: false),
                    ScaleName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsScaleState = table.Column<bool>(type: "bit", nullable: false),
                    TareNum = table.Column<int>(type: "int", nullable: false),
                    IsTareAdd = table.Column<bool>(type: "bit", nullable: false),
                    BindDepotId = table.Column<int>(type: "int", nullable: false),
                    IsGoDepot = table.Column<bool>(type: "bit", nullable: false),
                    UPCDataName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    OperatorName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ScaleCreateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    Modifier = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    RevempTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsScaleDelete = table.Column<bool>(type: "bit", nullable: false),
                    IsScaleDisable = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_scaleContexts", x => x.ScaleId);
                });

            migrationBuilder.CreateTable(
                name: "ScaleType",
                columns: table => new
                {
                    ScaleTypeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ScaleTypeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsScaleTypeDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_ScaleType", x => x.ScaleTypeId);
                });

            migrationBuilder.CreateTable(
                name: "Scratches",
                columns: table => new
                {
                    ScratchesId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    ScratchesDate = table.Column<DateTime>(type: "datetime2", nullable: false),
                    ScratchesDocument = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ScratchesSummary = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ScratchesSlaughter = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ProductionId = table.Column<int>(type: "int", nullable: false),
                    ScratchesState = table.Column<bool>(type: "bit", nullable: false),
                    ScratchesReviewers = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ScratchesTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    MakeId = table.Column<int>(type: "int", nullable: false),
                    MakeTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    MakeUpdateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsDeleted = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Scratches", x => x.ScratchesId);
                });

            migrationBuilder.CreateTable(
                name: "Sections",
                columns: table => new
                {
                    SectionId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    SectionName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SectionType = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BusinessId = table.Column<int>(type: "int", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Sections", x => x.SectionId);
                });

            migrationBuilder.CreateTable(
                name: "SettlementType",
                columns: table => new
                {
                    SettlementTypeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    SettlementTypeName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    SettlementTypeIsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_SettlementType", x => x.SettlementTypeId);
                });

            migrationBuilder.CreateTable(
                name: "Slaughter",
                columns: table => new
                {
                    SlaughterId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    SlaughterDate = table.Column<DateTime>(type: "datetime2", nullable: true),
                    SlaughterDocument = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CheckInId = table.Column<int>(type: "int", nullable: false),
                    SlaughterType = table.Column<int>(type: "int", nullable: false),
                    SlaughterMaxType = table.Column<int>(type: "int", nullable: false),
                    SlaughterNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    DepotId = table.Column<int>(type: "int", nullable: false),
                    SlaughterSDate = table.Column<DateTime>(type: "datetime2", nullable: true),
                    SlaughterNum = table.Column<int>(type: "int", nullable: false),
                    ProjectDateTime = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SlaughteredId = table.Column<int>(type: "int", nullable: false),
                    Resttime = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SlaughterRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LiveAnimalsId = table.Column<int>(type: "int", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Slaughter", x => x.SlaughterId);
                });

            migrationBuilder.CreateTable(
                name: "Slaughteredtes",
                columns: table => new
                {
                    SlaughteredId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    MarkId = table.Column<int>(type: "int", nullable: false),
                    LiveAnimalsId = table.Column<int>(type: "int", nullable: false),
                    WaitingId = table.Column<int>(type: "int", nullable: false),
                    SlaughteredTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    SlaughteredRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Slaughteredtes", x => x.SlaughteredId);
                });

            migrationBuilder.CreateTable(
                name: "SplitRequis",
                columns: table => new
                {
                    SplitRequisId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    SplitRequisTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    DepotId = table.Column<int>(type: "int", nullable: false),
                    ProductId = table.Column<int>(type: "int", nullable: false),
                    MarkId = table.Column<int>(type: "int", nullable: false),
                    SplitRequisNum = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SplitRequisGrossWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SplitRequisTares = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SplitRequisWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SplitRequisRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_SplitRequis", x => x.SplitRequisId);
                });

            migrationBuilder.CreateTable(
                name: "Staff",
                columns: table => new
                {
                    StaffId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    StaffName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    StaffSex = table.Column<bool>(type: "bit", nullable: false),
                    StaffPhone = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    UserId = table.Column<int>(type: "int", nullable: false),
                    RoleId = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Staff", x => x.StaffId);
                });

            migrationBuilder.CreateTable(
                name: "storeTypes",
                columns: table => new
                {
                    StoreTypeId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    StoreTypeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsStore = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_storeTypes", x => x.StoreTypeId);
                });

            migrationBuilder.CreateTable(
                name: "Supplier",
                columns: table => new
                {
                    SupplierId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    SupplierName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    SupplierIsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Supplier", x => x.SupplierId);
                });

            migrationBuilder.CreateTable(
                name: "Tare",
                columns: table => new
                {
                    TareId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    GoodsMinuteId = table.Column<int>(type: "int", nullable: false),
                    TareMeasure = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    TareStandardWeight = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    TareStatus = table.Column<bool>(type: "bit", nullable: false),
                    TareRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDisable = table.Column<bool>(type: "bit", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Tare", x => x.TareId);
                });

            migrationBuilder.CreateTable(
                name: "uPCDatas",
                columns: table => new
                {
                    GoodsMinuteId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    MemoryNum = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CommodityId = table.Column<int>(type: "int", nullable: false),
                    OrderNum = table.Column<int>(type: "int", nullable: false),
                    GoodsGradeId = table.Column<int>(type: "int", nullable: false),
                    UPCDataName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsGoodsMinute = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_uPCDatas", x => x.GoodsMinuteId);
                });

            migrationBuilder.CreateTable(
                name: "uPCTypeDatas",
                columns: table => new
                {
                    CommodityId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    CommodityName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsCommodity = table.Column<bool>(type: "bit", nullable: false),
                    Pid = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_uPCTypeDatas", x => x.CommodityId);
                });

            migrationBuilder.CreateTable(
                name: "Users",
                columns: table => new
                {
                    UsersId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    UsersName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    UsersPwd = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    RoleId = table.Column<int>(type: "int", nullable: false),
                    IsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Users", x => x.UsersId);
                });

            migrationBuilder.CreateTable(
                name: "Waitings",
                columns: table => new
                {
                    WaitingId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    WaitingName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    WaitingType = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    WaitingNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    WaitingStatu = table.Column<bool>(type: "bit", nullable: false),
                    WaitingRemark = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SectionId = table.Column<int>(type: "int", nullable: false),
                    WaitingDuty = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDel = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Waitings", x => x.WaitingId);
                });

            migrationBuilder.CreateTable(
                name: "warehouseDatas",
                columns: table => new
                {
                    DepotId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    StoreTypeId = table.Column<int>(type: "int", nullable: false),
                    DepotTypeId = table.Column<int>(type: "int", nullable: false),
                    CodeName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    StorageJnum = table.Column<int>(type: "int", nullable: false),
                    StorageNum = table.Column<int>(type: "int", nullable: false),
                    UserName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    LiveAnimalsDocument = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    BilsTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsDepot = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_warehouseDatas", x => x.DepotId);
                });

            migrationBuilder.CreateTable(
                name: "WeighingSheets",
                columns: table => new
                {
                    WeighId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    WeighDate = table.Column<DateTime>(type: "datetime2", nullable: false),
                    ProjectNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    DepotId = table.Column<int>(type: "int", nullable: false),
                    SkinWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
                    GrossWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
                    SlaughterIds = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    NetWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
                    WeighingSheetsNum = table.Column<int>(type: "int", nullable: false),
                    WeighingDesc = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDel = table.Column<int>(type: "int", nullable: false),
                    GoodsMinuteId = table.Column<int>(type: "int", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WeighingSheets", x => x.WeighId);
                });

            migrationBuilder.CreateTable(
                name: "whiteporkDatas",
                columns: table => new
                {
                    WhiteWeighingId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    DepotName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    SlaughterNo = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    GoodsMinute = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    WhiteWeighingDate = table.Column<DateTime>(type: "datetime2", nullable: false),
                    SkinWeight = table.Column<double>(type: "float", nullable: false),
                    GrossWeight = table.Column<double>(type: "float", nullable: false),
                    NetWeight = table.Column<double>(type: "float", nullable: false),
                    DeductionName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    WhiteWeighingDesc = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    WeighingNum = table.Column<int>(type: "int", nullable: false),
                    FattenName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IsDel = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_whiteporkDatas", x => x.WhiteWeighingId);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "Areas");

            migrationBuilder.DropTable(
                name: "Business");

            migrationBuilder.DropTable(
                name: "CheckIn");

            migrationBuilder.DropTable(
                name: "CheckInPigs");

            migrationBuilder.DropTable(
                name: "CheckInState");

            migrationBuilder.DropTable(
                name: "Citys");

            migrationBuilder.DropTable(
                name: "Clients");

            migrationBuilder.DropTable(
                name: "COAData");

            migrationBuilder.DropTable(
                name: "cOAPRQSDatas");

            migrationBuilder.DropTable(
                name: "COAStandardData");

            migrationBuilder.DropTable(
                name: "Deductions");

            migrationBuilder.DropTable(
                name: "depotTypes");

            migrationBuilder.DropTable(
                name: "goodsGrades");

            migrationBuilder.DropTable(
                name: "Industrytags");

            migrationBuilder.DropTable(
                name: "iPQCDatas");

            migrationBuilder.DropTable(
                name: "iPQCGoodsDatas");

            migrationBuilder.DropTable(
                name: "iPQCRemarkDatas");

            migrationBuilder.DropTable(
                name: "LiveAnimals");

            migrationBuilder.DropTable(
                name: "logData");

            migrationBuilder.DropTable(
                name: "Make");

            migrationBuilder.DropTable(
                name: "Oilyfat");

            migrationBuilder.DropTable(
                name: "Permissions");

            migrationBuilder.DropTable(
                name: "Pigs");

            migrationBuilder.DropTable(
                name: "Product");

            migrationBuilder.DropTable(
                name: "Production");

            migrationBuilder.DropTable(
                name: "Provibces");

            migrationBuilder.DropTable(
                name: "pRQSDatas");

            migrationBuilder.DropTable(
                name: "quarantineDatas");

            migrationBuilder.DropTable(
                name: "quarantinePigDatas");

            migrationBuilder.DropTable(
                name: "quarantinePigTypeDatas");

            migrationBuilder.DropTable(
                name: "RKWeighData");

            migrationBuilder.DropTable(
                name: "Roles");

            migrationBuilder.DropTable(
                name: "Sale");

            migrationBuilder.DropTable(
                name: "SalesDetails");

            migrationBuilder.DropTable(
                name: "SalesSummary");

            migrationBuilder.DropTable(
                name: "scaleContexts");

            migrationBuilder.DropTable(
                name: "ScaleType");

            migrationBuilder.DropTable(
                name: "Scratches");

            migrationBuilder.DropTable(
                name: "Sections");

            migrationBuilder.DropTable(
                name: "SettlementType");

            migrationBuilder.DropTable(
                name: "Slaughter");

            migrationBuilder.DropTable(
                name: "Slaughteredtes");

            migrationBuilder.DropTable(
                name: "SplitRequis");

            migrationBuilder.DropTable(
                name: "Staff");

            migrationBuilder.DropTable(
                name: "storeTypes");

            migrationBuilder.DropTable(
                name: "Supplier");

            migrationBuilder.DropTable(
                name: "Tare");

            migrationBuilder.DropTable(
                name: "uPCDatas");

            migrationBuilder.DropTable(
                name: "uPCTypeDatas");

            migrationBuilder.DropTable(
                name: "Users");

            migrationBuilder.DropTable(
                name: "Waitings");

            migrationBuilder.DropTable(
                name: "warehouseDatas");

            migrationBuilder.DropTable(
                name: "WeighingSheets");

            migrationBuilder.DropTable(
                name: "whiteporkDatas");
        }
    }
}
